struct hostent *Gethostbyname(const char *name)
{
struct hostent *p;

if((p=gethostbyname(name))==NULL)
dns_error("Gethostbyname error");
return p;
}